package smartt.styy.auth.model.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel
public class UserInfoReq {

	@JsonProperty("userId")
	@ApiModelProperty(name = "userId", value = "用户id", required = true)
	@Setter @Getter
	private String userId;
	
	@JsonProperty("nickName")
	@ApiModelProperty(name = "nickName", value = "用户昵称", required = false)
	@Setter @Getter
	private String nickName;
	
	@JsonProperty("idCard")
	@ApiModelProperty(name = "idCard", value = "身份证号", required = false)
	@Setter @Getter
	private String idCard;
	
	@JsonProperty("telPhone")
	@ApiModelProperty(name = "telPhone", value = "电话号码", required = false)
	@Setter @Getter
	private String telPhone;
	
	@JsonProperty("idPhoto")
	@ApiModelProperty(name = "idPhoto", value = "证件照（正）url", required = false)
	@Setter @Getter
	private String idPhoto;
	
	@JsonProperty("age")
	@ApiModelProperty(name = "age", value = "年龄", required = false)
	@Setter @Getter
	private Integer age;
	
	@JsonProperty("sex")
	@ApiModelProperty(name = "sex", value = "性别（0：男，1：女）", required = false)
	@Setter @Getter
	private Integer sex;
	
	@JsonProperty("address")
	@ApiModelProperty(name = "address", value = "地址", required = false)
	@Setter @Getter
	private String address;
	
	@JsonProperty("headPhoto")
	@ApiModelProperty(name = "headPhoto", value = "头像", required = false)
	@Setter @Getter
	private String headPhoto;
	
	@JsonProperty("idPhotoBack")
	@ApiModelProperty(name = "idPhotoBack", value = "证件照（反）", required = false)
	@Setter @Getter
	private String idPhotoBack;
	
	@JsonProperty("ethnic")
	@ApiModelProperty(name = "ethnic", value = "民族", required = false)
	@Setter @Getter
	private String ethnic;
	
	@JsonProperty("introduce")
	@ApiModelProperty(name = "introduce", value = "简介", required = false)
	@Setter @Getter
	private String introduce;
	
	
	@JsonProperty("status")
	@ApiModelProperty(name = "status", value = "状态（0:不可用，1：可用）", required = false)
	@Setter @Getter
	private Integer status;
	
}
